package com.exam.mysql;

import com.exam.entity.SysQuestionBank;
import com.exam.entity.SysQuestionBankExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysQuestionBankDao {
    long countByExample(SysQuestionBankExample example);

    int deleteByExample(SysQuestionBankExample example);

    int deleteByPrimaryKey(Integer quebankid);

    int insert(SysQuestionBank record);

    int insertSelective(SysQuestionBank record);

    List<SysQuestionBank> selectByExample(SysQuestionBankExample example);

    SysQuestionBank selectByPrimaryKey(Integer quebankid);

    int updateByExampleSelective(@Param("record") SysQuestionBank record, @Param("example") SysQuestionBankExample example);

    int updateByExample(@Param("record") SysQuestionBank record, @Param("example") SysQuestionBankExample example);

    int updateByPrimaryKeySelective(SysQuestionBank record);

    int updateByPrimaryKey(SysQuestionBank record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_question_bank
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysQuestionBank> list);
}